3.477 \(\int (d+e x) (a+c x^2)^3 \, dx\)

Optimal. Leaf size=56 \[ a^3 d x+a^2 c d x^3+\frac {3}{5} a c^2 d x^5+\frac {e \left (a+c x^2\right )^4}{8 c}+\frac {1}{7} c^3 d x^7 \]

[Out]

a^3*d*x+a^2*c*d*x^3+3/5*a*c^2*d*x^5+1/7*c^3*d*x^7+1/8*e*(c*x^2+a)^4/c

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 56, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {641, 194} \[ a^2 c d x^3+a^3 d x+\frac {3}{5} a c^2 d x^5+\frac {e \left (a+c x^2\right )^4}{8 c}+\frac {1}{7} c^3 d x^7 \]

Antiderivative was successfully verified.

[In]

Int[(d + e*x)*(a + c*x^2)^3,x]

[Out]

a^3*d*x + a^2*c*d*x^3 + (3*a*c^2*d*x^5)/5 + (c^3*d*x^7)/7 + (e*(a + c*x^2)^4)/(8*c)

Rule 194

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Int[ExpandIntegrand[(a + b*x^n)^p, x], x] /; FreeQ[{a, b}, x]
&& IGtQ[n, 0] && IGtQ[p, 0]

Rule 641

Int[((d_) + (e_.)*(x_))*((a_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[(e*(a + c*x^2)^(p + 1))/(2*c*(p + 1)),
x] + Dist[d, Int[(a + c*x^2)^p, x], x] /; FreeQ[{a, c, d, e, p}, x] && NeQ[p, -1]

Rubi steps

\begin {align*} \int (d+e x) \left (a+c x^2\right )^3 \, dx &=\frac {e \left (a+c x^2\right )^4}{8 c}+d \int \left (a+c x^2\right )^3 \, dx\\ &=\frac {e \left (a+c x^2\right )^4}{8 c}+d \int \left (a^3+3 a^2 c x^2+3 a c^2 x^4+c^3 x^6\right ) \, dx\\ &=a^3 d x+a^2 c d x^3+\frac {3}{5} a c^2 d x^5+\frac {1}{7} c^3 d x^7+\frac {e \left (a+c x^2\right )^4}{8 c}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 85, normalized size = 1.52 \[ a^3 d x+\frac {1}{2} a^3 e x^2+a^2 c d x^3+\frac {3}{4} a^2 c e x^4+\frac {3}{5} a c^2 d x^5+\frac {1}{2} a c^2 e x^6+\frac {1}{7} c^3 d x^7+\frac {1}{8} c^3 e x^8 \]

Antiderivative was successfully verified.

[In]

Integrate[(d + e*x)*(a + c*x^2)^3,x]

[Out]

a^3*d*x + (a^3*e*x^2)/2 + a^2*c*d*x^3 + (3*a^2*c*e*x^4)/4 + (3*a*c^2*d*x^5)/5 + (a*c^2*e*x^6)/2 + (c^3*d*x^7)/
7 + (c^3*e*x^8)/8

________________________________________________________________________________________

fricas [A]  time = 1.14, size = 73, normalized size = 1.30 \[ \frac {1}{8} x^{8} e c^{3} + \frac {1}{7} x^{7} d c^{3} + \frac {1}{2} x^{6} e c^{2} a + \frac {3}{5} x^{5} d c^{2} a + \frac {3}{4} x^{4} e c a^{2} + x^{3} d c a^{2} + \frac {1}{2} x^{2} e a^{3} + x d a^{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)*(c*x^2+a)^3,x, algorithm="fricas")

[Out]

1/8*x^8*e*c^3 + 1/7*x^7*d*c^3 + 1/2*x^6*e*c^2*a + 3/5*x^5*d*c^2*a + 3/4*x^4*e*c*a^2 + x^3*d*c*a^2 + 1/2*x^2*e*
a^3 + x*d*a^3

________________________________________________________________________________________

giac [A]  time = 0.15, size = 77, normalized size = 1.38 \[ \frac {1}{8} \, c^{3} x^{8} e + \frac {1}{7} \, c^{3} d x^{7} + \frac {1}{2} \, a c^{2} x^{6} e + \frac {3}{5} \, a c^{2} d x^{5} + \frac {3}{4} \, a^{2} c x^{4} e + a^{2} c d x^{3} + \frac {1}{2} \, a^{3} x^{2} e + a^{3} d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)*(c*x^2+a)^3,x, algorithm="giac")

[Out]

1/8*c^3*x^8*e + 1/7*c^3*d*x^7 + 1/2*a*c^2*x^6*e + 3/5*a*c^2*d*x^5 + 3/4*a^2*c*x^4*e + a^2*c*d*x^3 + 1/2*a^3*x^
2*e + a^3*d*x

________________________________________________________________________________________

maple [A]  time = 0.04, size = 74, normalized size = 1.32 \[ \frac {1}{8} c^{3} e \,x^{8}+\frac {1}{7} c^{3} d \,x^{7}+\frac {1}{2} a \,c^{2} e \,x^{6}+\frac {3}{5} a \,c^{2} d \,x^{5}+\frac {3}{4} a^{2} c e \,x^{4}+a^{2} c d \,x^{3}+\frac {1}{2} a^{3} e \,x^{2}+a^{3} d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x+d)*(c*x^2+a)^3,x)

[Out]

1/8*c^3*e*x^8+1/7*c^3*d*x^7+1/2*e*a*c^2*x^6+3/5*a*c^2*d*x^5+3/4*e*a^2*c*x^4+a^2*c*d*x^3+1/2*a^3*e*x^2+a^3*d*x

________________________________________________________________________________________

maxima [A]  time = 1.30, size = 73, normalized size = 1.30 \[ \frac {1}{8} \, c^{3} e x^{8} + \frac {1}{7} \, c^{3} d x^{7} + \frac {1}{2} \, a c^{2} e x^{6} + \frac {3}{5} \, a c^{2} d x^{5} + \frac {3}{4} \, a^{2} c e x^{4} + a^{2} c d x^{3} + \frac {1}{2} \, a^{3} e x^{2} + a^{3} d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)*(c*x^2+a)^3,x, algorithm="maxima")

[Out]

1/8*c^3*e*x^8 + 1/7*c^3*d*x^7 + 1/2*a*c^2*e*x^6 + 3/5*a*c^2*d*x^5 + 3/4*a^2*c*e*x^4 + a^2*c*d*x^3 + 1/2*a^3*e*
x^2 + a^3*d*x

________________________________________________________________________________________

mupad [B]  time = 0.04, size = 73, normalized size = 1.30 \[ \frac {e\,a^3\,x^2}{2}+d\,a^3\,x+\frac {3\,e\,a^2\,c\,x^4}{4}+d\,a^2\,c\,x^3+\frac {e\,a\,c^2\,x^6}{2}+\frac {3\,d\,a\,c^2\,x^5}{5}+\frac {e\,c^3\,x^8}{8}+\frac {d\,c^3\,x^7}{7} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + c*x^2)^3*(d + e*x),x)

[Out]

(a^3*e*x^2)/2 + (c^3*d*x^7)/7 + (c^3*e*x^8)/8 + a^3*d*x + a^2*c*d*x^3 + (3*a*c^2*d*x^5)/5 + (3*a^2*c*e*x^4)/4
+ (a*c^2*e*x^6)/2

________________________________________________________________________________________

sympy [A]  time = 0.08, size = 85, normalized size = 1.52 \[ a^{3} d x + \frac {a^{3} e x^{2}}{2} + a^{2} c d x^{3} + \frac {3 a^{2} c e x^{4}}{4} + \frac {3 a c^{2} d x^{5}}{5} + \frac {a c^{2} e x^{6}}{2} + \frac {c^{3} d x^{7}}{7} + \frac {c^{3} e x^{8}}{8} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)*(c*x**2+a)**3,x)

[Out]

a**3*d*x + a**3*e*x**2/2 + a**2*c*d*x**3 + 3*a**2*c*e*x**4/4 + 3*a*c**2*d*x**5/5 + a*c**2*e*x**6/2 + c**3*d*x*
*7/7 + c**3*e*x**8/8

________________________________________________________________________________________